newInstance

public static BrowserView newInstance(Browser browser)

Creates a new BrowserView instance that displays the given browser instance.

Return

a new BrowserView instance

Parameters

browser

Browser instance that will be rendered in the current view